home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / scroll < prev    next >
Internet Message Format  |  1995-03-31  |  1KB

  1. From helens!shelby!rutgers!usc!samsung!rex!rouge!pc!el365115 Sun Jul  8 22:37:04 PDT 1990
  2. Status: RO
  3.  
  4. Article 2112 of comp.sys.handhelds:
  5. Path: helens!shelby!rutgers!usc!samsung!rex!rouge!pc!el365115
  6. >From: el365115@pc.usl.edu (Doan Tu Thanh)
  7. Newsgroups: comp.sys.handhelds
  8. Subject: Scrolling for the HP28S
  9. Message-ID: <11227@rouge.usl.edu>
  10. Date: 8 Jul 90 19:47:16 GMT
  11. Sender: anon@rouge.usl.edu
  12. Organization: Univ. of Southwestern La., Lafayette
  13. Lines: 40
  14.  
  15. Hello there,
  16.  
  17.  
  18. Each program below takes a string from the stack and scrolls it across the
  19. top line.  The program L->R scrolls the string from left to right, and the
  20. program R->L scrolls the string from right to left.  The maximum number of
  21. characters is 22 (excessive characters are truncated).  The two programs are
  22. basically the same with a few number changes.  To quit the program, first press
  23. any key except the [ON] key, then press the [ON] key.
  24.  
  25.  
  26. Tu Doan 
  27.  
  28.  
  29. ----------
  30.  
  31. L->R     [EF95]
  32.  
  33. << 1 22 SUB 1 DISP
  34. LCD-> 1 137 SUB
  35.   DO DUP 137 137 SUB
  36. SWAP 1 136 SUB + DUP
  37. ->LCD
  38.    UNTIL KEY
  39.    END CLEAR
  40. >>
  41.  
  42.  
  43.  
  44. R->L     [DAC8]
  45.  
  46. << 1 22 SUB 1 DISP
  47. LCD-> 1 137 SUB
  48.   DO DUP 2 137 SUB
  49. SWAP 1 1 SUB + DUP
  50. ->LCD
  51.    UNTIL KEY
  52.    END CLEAR
  53. >>
  54.  
  55.  
  56.  
  57.